package com.zhangsun.yueBoot.admin.user.service;

import com.zhangsun.yueBoot.admin.user.entity.RegisterUser;
import com.zhangsun.yueBoot.commons.base.service.BaseService;
import com.zhangsun.yueBoot.framework.expection.BusinessException;

/**
 * 用户service接口
 */
public interface UserService extends BaseService {

    /**
     * 用户注册
     *
     * @param registerUser 注册信息
     * @throws BusinessException 异常
     */
    void register(RegisterUser registerUser) throws BusinessException;

    void resetAdmin();

}
